package com.budweiser.budweisermain.repository;

import com.budweiser.model.system.menu.NavMenu;
import com.budweiser.model.system.menu.enums.MenuType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NavMenuRepository {
    List<NavMenu> findAll();

    List<NavMenu> findByType(MenuType menuType);

    List<NavMenu> findByParentId(@Param("PARENT_ID") int PARENT_ID);

}
